﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="/static/admin/Css/public.css" rel="stylesheet" type="text/css" />
<title>友情链接管理</title>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
	<tr class="topbg"><td>友情链接管理</td></tr>
	<tr class="tdbg">
		<td height="30">&nbsp;&nbsp;
			<a href="{:url('admin/link/index')}">管理首页</a>&nbsp;|&nbsp;
			<a href="{:url('admin/link/add')}">添加友情链接</a>
		</td>
	</tr>
</table>
<br />
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="border">
<tr class="title" align="center">
	<td>编号</td>
	<td>域名</td>
	<td>网址</td>
	<td>排序</td>
	<td>操作选项</td>
</tr>
{foreach $data as $v}
	<tr class="tdbg" align="center">
		<td>{$v.id}</td>
		<td align="left">{$v.domain}</td>
		<td>{$v.url}</td>
		<td>{$v.orderby}</td>
		<td>
			<a href="{:url('admin/link/edit',['id'=>$v.id])}">修改</a> |
			<a href="javascript:void(0)" onclick="if(confirm('您确定要删除吗？')) location.href= '{:url(\'admin/link/delete\',[\'id\'=>$v.id])}' ">删除</a>
		</td>
	</tr>
{/foreach}

</table>
</body>
</html>